
const files = import.meta.globEager('./modules/*.js')

const modules = {}
for (const key in files) {
  modules[key.replace(/(\.\/modules\/|\.js)/g, '')] = files[key].default
}

const data = {}
Object.keys(modules).forEach(key => {
  data[key] = modules[key]()
})

export default data
